package com.acquisition.service;

import com.acquisition.entity.SysPermission;
import java.util.List;

/**
 * @Author Jay Chou
 * @Description 权限表(SysPermission)表服务接口
 * @Date 2023-04-12 12:31
 **/
public interface SysPermissionService {

    SysPermission queryById(String id);

    List<SysPermission> queryPermissionList(SysPermission sysPermission);

    List<SysPermission> queryPermissionListByUserId(String userId);

    List<SysPermission> queryPermissionListByPath(String path);

    int insert(SysPermission sysPermission);

    int update(SysPermission sysPermission);

    int deleteById(String id);

}